It is used to mean that, just as the weeds are hard to eradicate, the bad is very resistant and endures.